<?php
// +----------------------------------------------
// | @Author: ViooMa <12612019@qq.com>
// +----------------------------------------------
// | @Date:   2020-02-19 00:31:30
// +----------------------------------------------
namespace plugins\viooma_backup;
use cmf\lib\Plugin;
use think\Db;

class VioomaBackupPlugin extends Plugin{
    public $info = [
        'name'        => 'VioomaBackup',
        'title'       => '数据库备份',
        'description' => '数据库备份与还原(v2.0)',
        'status'      => 1,
        'author'      => 'ViooMa',
        'version'     => '2.0',
		'demo_url'    => 'http://www.viooma.com',
		'author_url'  => 'http://www.viooma.com',
    ];

    public $hasAdmin = 1;

    /**
     * 插件安装
     */
    public function install(){
        return true;
    }

    /**
     * 插件卸载
     */
    public function uninstall(){
        return true;
    }
}